function returnObjById( id )
{
if (document.getElementById)
var returnVar = document.getElementById(id);
else if (document.all)
var returnVar = document.all[id];
else if (document.layers)
var returnVar = document.layers[id];
return returnVar;
}
function sortByRoom()
{
var cookwin = window.open('http://www.freerollsmonitor.com/set_cookie.php?freeroll_sortroom=' + returnObjById("freeroll_sortroom").value);
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortroom=" + returnObjById("freeroll_sortroom").value;
}
function sortByPrize()
{
var cookwin = window.open('http://www.freerollsmonitor.com/set_cookie.php?freeroll_sortby=prize');
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby=prize";
}
function sortByTime()
{
var cookwin = window.open('http://www.freerollsmonitor.com/set_cookie.php?freeroll_sortby=time');
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby=time";
}
function sortprize()
{
var cookwin = window.open('http://www.freerollsmonitor.com/set_cookie.php?freeroll_sortby_prize='+returnObjById("prizediff").value);
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby_prize=" + returnObjById("prizediff").value;
}
function sortbuyin()
{
var cookwin = window.open('http://www.freerollsmonitor.com/set_cookie.php?freeroll_sortby_buyin='+returnObjById("buyindiff").value);
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_sortby_buyin=" + returnObjById("buyindiff").value;
}
function changeTz()
{
var cookwin = window.open('http://www.freerollsmonitor.com/set_cookie.php?freeroll_tz=' + returnObjById("freeroll_timezone").value);
function closeCookWin(cwin)
{
window.location.reload(true);
}
cookwin.onunload = closeCookWin(cookwin);
document.cookie = "freeroll_tz=" + returnObjById("freeroll_timezone").value;
}
sText = ""; sText += " ";
sText += "";
sText += "
";
sText += " ";
sText += " | Starts | ";
sText += " Game | ";
sText += " Limit | ";
sText += " Payout | ";
sText += " Room";
sText += " | ";
sText += " Info";
sText += " | ";
sText += "
";
sText += "";
sText += "  | 08-02-10 21:40:00 (0 mins) |
| ";
sText += " Holdem |  | ";
sText += " $500 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 21:40:00 (0 mins) |
| ";
sText += " Razz |  | ";
sText += " $150 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 22:02:00 (22 mins) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 22:10:00 (30 mins) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 22:40:00 (1 hours) |
| ";
sText += " Holdem |  | ";
sText += " $300 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 22:40:00 (1 hours) |
| ";
sText += " Holdem |  | ";
sText += " $500 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 22:40:00 (1 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 22:42:00 (1 hours) |
| ";
sText += " Badugi |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 23:00:00 (1 hours) |
| ";
sText += " Holdem |  | ";
sText += " $25 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 23:00:00 (1 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 23:22:00 (1 hours) |
| ";
sText += " 5-card stud |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | 08-02-10 23:40:00 (2 hours) |
| ";
sText += " Holdem |  | ";
sText += " $150 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:02:00 (2 hours) |
| ";
sText += " Omaha Hi/Lo |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:15:00 (2 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:15:00 (2 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:15:00 (2 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:30:00 (2 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:30:00 (2 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:40:00 (3 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 00:42:00 (3 hours) |
| ";
sText += " 5-card stud |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:00:00 (3 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:10:00 (3 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:10:00 (3 hours) |
| ";
sText += " Holdem |  | ";
sText += " $75 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:22:00 (3 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:40:00 (4 hours) |
| ";
sText += " Holdem |  | ";
sText += " $100 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:40:00 (4 hours) |
| ";
sText += " Holdem |  | ";
sText += " $150 | ";
sText += " | |
";
sText += "";
sText += "  | Today 01:40:00 (4 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 02:00:00 (4 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 02:00:00 (4 hours) |
| ";
sText += " Holdem |  | ";
sText += " $100 | ";
sText += " | |
";
sText += "";
sText += "  | Today 02:02:00 (4 hours) |
| ";
sText += " Omaha Hi/Lo |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 02:30:00 (4 hours) |
| ";
sText += " Holdem |  | ";
sText += " $30 | ";
sText += " | |
";
sText += "";
sText += "  | Today 02:40:00 (5 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 02:42:00 (5 hours) |
| ";
sText += " Omaha Hi |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:00:00 (5 hours) |
| ";
sText += " Holdem |  | ";
sText += " $40 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:05:00 (5 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:10:00 (5 hours) |
| ";
sText += " Holdem |  | ";
sText += " $75 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:22:00 (5 hours) |
| ";
sText += " Holdem |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:30:00 (5 hours) |
| ";
sText += " |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:30:00 (5 hours) |
| ";
sText += " Holdem |  | ";
sText += " $45 | ";
sText += " | |
";
sText += "";
sText += "  | Today 03:40:00 (6 hours) |
| ";
sText += " Omaha Hi |  | ";
sText += " $150 | ";
sText += " | |
";
sText += "";
sText += "  | Today 04:02:00 (6 hours) |
| ";
sText += " Razz |  | ";
sText += " $0 | ";
sText += " | |
";
sText += "";
sText += "  | Today 04:05:00 (6 hours) |
| ";
sText += " Holdem |  | ";
sText += " $100 | ";
sText += " | |
";
sText += "";
sText += "  | Today 04:15:00 (6 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 04:15:00 (6 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "";
sText += "  | Today 04:15:00 (6 hours) |
| ";
sText += " Holdem |  | ";
sText += " $50 | ";
sText += " | |
";
sText += "
";
document.write(sText);
function decrementMins(){
totalcounters = 4;
for(var i=1; i <= totalcounters; i++){
returnObjById("freeroll_starts"+i).innerHTML=returnObjById("freeroll_starts"+i).innerHTML - 1;
if (returnObjById("freeroll_starts"+i).innerHTML<0)
returnObjById("freeroll_starts"+i).innerHTML="0";
}
}
setInterval('decrementMins()',60000);
function linkCount(url){
var count=0;
for (var i=0; i < document.links.length; i++)
if (document.links[i].href == url || document.links[i].href == url + '/')
count++;
return count;
}
var K1;
var V1;
function searchIn(k)
{
for(l=0;l